<div class="page-header">
	<h1 style="display: inline;">
		<?php echo $survey['Survey']['name']; ?>
	</h1>
</div>

<?php echo $this->Form->create(false); ?>

	<?php foreach ($survey['Question'] as $question): ?>
		<?php $cq = $question['ConcreteQuestion']; ?>
		<div class="row-fluid">
			<div class="span12">
				<?php echo $this->element( sprintf("ConcreteQuestions/Input/%s", $cq->name), array('cq' => $cq) ); ?>
			</div>
		</div>
		<hr/>
	<?php endforeach; ?>

	<?php echo $this->TwitterBootstrap->button("Submit", array('style' => 'success')); ?>

<?php echo $this->Form->end(); ?>